package com.cskaoyan.model.admin.vo;

import java.util.List;

public class AdListVo {

    /**
     * total : 4
     * pages : 1
     * limit : 20
     * page : 1
     * list : [{"id":4,"name":"广告标题改","link":"www.baidu1.com","url":"http://182.92.235.201:8083/wx/storage/fetch/5fwbas5vgf0qhuv3aft8.jpg","position":1,"content":"内容改1","enabled":false,"addTime":"2021-11-29 17:02:05","updateTime":"2021-11-29 17:10:53","deleted":false},{"id":1,"name":"合作 谁是你的菜","link":"","url":"http://yanxuan.nosdn.127.net/65091eebc48899298171c2eb6696fe27.jpg","position":1,"content":"合作 谁是你的菜","enabled":true,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":2,"name":"活动 美食节","link":"","url":"http://yanxuan.nosdn.127.net/bff2e49136fcef1fd829f5036e07f116.jpg","position":1,"content":"活动 美食节","enabled":true,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":3,"name":"活动 母亲节","link":"","url":"http://yanxuan.nosdn.127.net/8e50c65fda145e6dd1bf4fb7ee0fcecc.jpg","position":1,"content":"活动 母亲节5","enabled":true,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false}]
     */

    private int total;
    private int pages;
    private int limit;
    private int page;
    private List<ListBean> list;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * id : 4
         * name : 广告标题改
         * link : www.baidu1.com
         * url : http://182.92.235.201:8083/wx/storage/fetch/5fwbas5vgf0qhuv3aft8.jpg
         * position : 1
         * content : 内容改1
         * enabled : false
         * addTime : 2021-11-29 17:02:05
         * updateTime : 2021-11-29 17:10:53
         * deleted : false
         */

        private int id;
        private String name;
        private String link;
        private String url;
        private int position;
        private String content;
        private boolean enabled;
        private String addTime;
        private String updateTime;
        private boolean deleted;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getPosition() {
            return position;
        }

        public void setPosition(int position) {
            this.position = position;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public boolean isEnabled() {
            return enabled;
        }

        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }
    }
}
